﻿<Controls:SinacorWindow    
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    
    xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
    xmlns:Validation="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Validation;assembly=Sinacor.Infra.UI.Controls"
    xmlns:Edit="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Edit;assembly=Sinacor.Infra.UI.Controls"    
    WindowStartupLocation="CenterScreen"
    WindowState="Maximized"
    Title="{DynamicResource Bovespa.Contabil.Label.TelaCadContasContabeis}" 
    x:Class="Sinacor.UI.Bovespa.Contabil.View.SmartClient.CadastroContasContabeis"
    ModulePlus="True"
    ModuleId="BOL" >

    <Controls:SinacorExpanderContainer>
        <Grid.RowDefinitions>
            <RowDefinition Height="115"/>
            <RowDefinition Height="4"/>
            <RowDefinition Height="*" MinHeight="150"/>
        </Grid.RowDefinitions>

        <Controls:SinacorExpander Header="{DynamicResource Bovespa.Contabil.Label.ExpanderPesquisa}" Grid.Row="0" TabIndex="7" IsExpanded="True">
            <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Width="968">
                <Controls:SinacorLabel HorizontalAlignment="Left" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Contabil.Label.LabelBolsa}" Width="99"/>
                <Controls:SinacorComboBox x:Name="CmbBolsa"                                          
                                          DisplayMemberPath="Descricao"
                                          SelectedValuePath="Codigo"
                                          ItemsSource="{Binding ListaBolsas}"
                                          HorizontalAlignment="Left" Margin="103,0,0,0" VerticalAlignment="Top" Width="230" TabIndex="1"/>

                <Controls:SinacorLabel HorizontalAlignment="Left" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Contabil.Label.LabelGrupoContabil}" Width="104" Margin="337,0,0,0"/>
                <Controls:SinacorComboBox x:Name="CmbGrupoContabil"
                                          DisplayMemberPath="Descricao"
                                          SelectedValuePath="Codigo"                                          
                                          ItemsSource="{Binding ListaGruposContabeis}"
                                          HorizontalAlignment="Left" Margin="445,0,0,0" VerticalAlignment="Top" Width="479" TabIndex="2"/>

                <Controls:SinacorLabel HorizontalAlignment="Left" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Contabil.Label.LabelEventoContabil}" Width="99" Margin="0,26,0,0"/>
                <Controls:SinacorComboBox x:Name="CmbEventoContabil"
                                          DisplayMemberPath="Descricao"
                                          SelectedValuePath="Codigo"
                                          ItemsSource="{Binding ListaEventosContabeis}"
                                          HorizontalAlignment="Left" Margin="103,25,0,0" VerticalAlignment="Top" Width="340" TabIndex="3"/>

                <Controls:SinacorLabel HorizontalAlignment="Left" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Contabil.Label.LabelMunicipio}" Width="79" Margin="447,25,0,0"/>
                <Controls:SinacorComboBox x:Name="CmbMunicipio" 
                                          DisplayMemberPath="Descricao"
                                          SelectedValuePath="Codigo"
                                          ItemsSource="{Binding ListaMunicipios}"                                           
                                          IsEnabled="False" Margin="530,25,0,0" VerticalAlignment="Top" Width="394" TabIndex="4" HorizontalAlignment="Left"/>

                <Controls:SinacorButton	x:Name="BtnPesquisar" HorizontalAlignment="Left" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Contabil.Label.BotaoPesquisar}" Width="100" Margin="720,50,0,0" IsDefault="True" TabIndex="5"/>
                <Controls:SinacorButton	x:Name="BtnNovaPesquisa" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="824,50,0,0" Content="{DynamicResource Bovespa.Contabil.Label.BotaoNovaPesquisa}" Width="100" TabIndex="6"/>
            </Grid>
        </Controls:SinacorExpander>
        <Controls:SinacorExpander Header="{DynamicResource Bovespa.Contabil.Label.ExpanderContaContabil}" Grid.Row="2" TabIndex="8" IsExpanded="True" AllowExpand="False">
            <Grid>
                <Controls:SinacorDataGrid x:Name="DtgContasContabeis"
                                          TabIndex="5"
										  AllowDelete="True"										 
										  RowEditMode="EditPanel" 
										  AllowPanelInsert="True" 
										  AllowPanelUpdate="True" 
                                          PanelUpdateTemplate="{Binding PanelInsertTemplate, RelativeSource={RelativeSource Self}}"
										  ItemsSource="{Binding ListaContasContabeis}">
                    <Controls:SinacorDataGrid.PanelInsertTemplate>
                        <DataTemplate>
                            <Grid>
                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="80"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelBolsa}"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorComboBox x:Name="CmbBolsaGrid"
                                                          DisplayMemberPath="Descricao"
                                                          SelectedValuePath="Codigo"
                                                          SelectedValue="{Binding CodigoBolsa}"
                                                          ItemsSource="{Binding PresenterCadastroContaContabilFaturamento.ListaBolsas, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"
                                                          IsRequired="True"
                                                          RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.BolsaObrigatoria"
                                                          HorizontalAlignment="Left"
        									              Margin="0,21,0,0"
        									              VerticalAlignment="Top"
        									              Width="260"
        									              TabIndex="1"
                                                          SelectionChanged="CmbBolsaGrid_SelectionChanged"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="150"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelGrupoContabil}"
        								               Margin="265,0,0,0"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorComboBox x:Name="CmbGrupoContabilGrid"
                                                          DisplayMemberPath="Descricao"
                                                          SelectedValuePath="Codigo"
                                                          SelectedValue="{Binding CodigoGrupoContabil}"
                                                          ItemsSource="{Binding PresenterCadastroContaContabilFaturamento.ListaGruposContabeis, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"
                                                          IsRequired="True"
                                                          RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.GrupoContabilObrigatorio"
                                                          HorizontalAlignment="Left"
        									              Margin="265,21,0,0"
        									              VerticalAlignment="Top"
        									              Width="397"
        									              TabIndex="2"
                                                          SelectionChanged="CmbGrupoContabilGrid_SelectionChanged"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="150"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelEventoContabil}"
        								               Margin="0,46,0,0"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorComboBox x:Name="CmbEventoContabilGrid"
                                                          DisplayMemberPath="Descricao"
                                                          SelectedValuePath="Codigo"
                                                          SelectedValue="{Binding CodigoEventoContabil}"
                                                          ItemsSource="{Binding PresenterCadastroContaContabilFaturamento.ListaEventosContabeis, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"
                                                          IsRequired="True"
                                                          RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.EventoContabilObrigatorio"
                                                          SelectionChanged="CmbEventoContabilGrid_SelectionChanged"
                                                          HorizontalAlignment="Left"
        									              Margin="0,67,0,0"
        									              VerticalAlignment="Top"
          									              Width="260"
        									              TabIndex="3"/>

                                <Controls:SinacorLabel x:Name="LblMunicipioGrid"
                                                       HorizontalAlignment="Left"
        								               Width="100"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelMunicipio}"
        								               Margin="265,46,0,0"
        								               IsTargetFieldRequired="False"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorComboBox x:Name="CmbMunicipioGrid"
                                                          DisplayMemberPath="Descricao"
                                                          SelectedValuePath="Codigo"
                                                          SelectedValue="{Binding CodigoMunicipio}"
                                                          ItemsSource="{Binding PresenterCadastroContaContabilFaturamento.ListaMunicipios, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"
                                                          IsRequired="False" 
                                                          RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.MunicipioObrigatorio"
                                                          HorizontalAlignment="Left"
        									              Margin="265,67,0,0"
        									              VerticalAlignment="Top"
        									              Width="397"
        									              TabIndex="4"
                                                          SelectionChanged="CmbMunicipioGrid_SelectionChanged"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="150"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelCodResumidoCred}"
        									           Margin="0,92,0,0"
        									           IsTargetFieldRequired="True"
											           HorizontalContentAlignment="Left" />

                                <Controls:SinacorInt32TextBox x:Name="TxtCodResumidoCredito"
                                                              Value="{Binding CodigoResumidoCredito}"
                                                              Integers="4"
                                                              AcceptsNegative="False"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
        									                  Margin="0,113,0,0"
        									                  VerticalAlignment="Top"
        									                  Width="105"
        									                  TabIndex="5"
                                                              IsRequired="False"
                                                              RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.CodigoResumidoNaoEncontrado"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtDigResumidoCredito"
                                                              Value="{Binding DigitoResumidoCredito}"
                                                              Integers="1"
                                                              AcceptsNegative="False"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
                                                              LostFocus="TxtDigResumidoCredito_LostFocus"
        									                  Margin="110,113,0,0"
        									                  VerticalAlignment="Top"
        									                  Width="26"
        									                  TabIndex="6"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="170"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelCtaCredito}"
        								               Margin="154,92,0,0"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorTextBox x:Name="TxtContaCredito"
                                                         Text="{Binding ContaCredito}"
                                                         HorizontalAlignment="Left"
        									             Margin="154,113,0,0"
        									             VerticalAlignment="Top"
        									             Width="290"
        									             TabIndex="7"
                                                         MaxLength="50"
                                                         LostFocus="TxtContaCredito_LostFocus"
                                                         IsRequired="False"
                                                         RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.ContaCreditoNaoEncontrada"/>

                                <Controls:SinacorLabel x:Name="lblCtaCreditoNome" 
                                                       HorizontalAlignment="Left"
        								               Width="360"
        								               Margin="448,113,0,0"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="150"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelHistCtaCredito}"
        								               Margin="0,138,0,0"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtCodHistoricoCredito"
                                                              Value="{Binding CodigoHistoricoCredito}"
                                                              Integers="3"
                                                              IsFormated="False"
                                                              AcceptsNegative="False"
                                                              HorizontalAlignment="Left"
        									                  Margin="0,159,0,0"
        									                  VerticalAlignment="Top"
        									                  Width="105"
        									                  TabIndex="8" 
                                                              IsRequired="True"
                                                              RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.CodigoHistoricoCreditoObrigatorio"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtDigHistoricoCredito"
                                                              Value="{Binding DigitoHistoricoCredito}"
                                                              Integers="1"
                                                              IsFormated="False"
                                                              AcceptsNegative="False"
                                                              HorizontalAlignment="Left"
        									                  Margin="110,159,0,0"
        									                  VerticalAlignment="Top"
        									                  Width="26"
        									                  TabIndex="8"
                                                              LostFocus="TxtDigHistoricoCredito_LostFocus"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        									           Width="150"
        									           Content="{DynamicResource Bovespa.Contabil.Label.LabelCodResumidoDeb}"
        									           Margin="0,184,0,0"
        									           IsTargetFieldRequired="True"
											           HorizontalContentAlignment="Left"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtCodResumidoDebito"
                                                              Value="{Binding CodigoResumidoDebito}"
                                                              Integers="4"
                                                              IsFormated="False"
                                                              AcceptsNegative="False"
                                                              HorizontalAlignment="Left"
        									                  Margin="0,205,0,0"
        									                  VerticalAlignment="Top"
        									                  Width="105"
        									                  TabIndex="9"
                                                              IsRequired="False"
                                                              RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.ContaDebitoNaoEncontrada"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtDigResumidoDebito"
                                                              Value="{Binding DigitoResumidoDebito}"
                                                              Integers="1"
                                                              AcceptsNegative="False"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
                                                              LostFocus="TxtDigResumidoDebito_LostFocus"
        									                  Margin="110,205,0,0"
        									                  VerticalAlignment="Top"
        									                  Width="26"
        									                  TabIndex="10"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="170"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelCodContaDebito}"
        								               Margin="154,184,0,0"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorTextBox x:Name="TxtContaDebito"
                                                         Text="{Binding ContaDebito}"
                                                         HorizontalAlignment="Left"
        									             Margin="154,205,0,0"
        									             VerticalAlignment="Top"
        									             Width="290"
        									             TabIndex="11"
                                                         MaxLength="50"
                                                         LostFocus="TxtContaDebito_LostFocus"
                                                         IsRequired="False"
                                                         RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.ContaDebitoNaoEncontrada"/>

                                <Controls:SinacorLabel x:Name="lblCtaDebitoNome" 
                                                       HorizontalAlignment="Left"
        								               Width="360"
        								               Margin="448,205,0,0"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
        								               Width="154"
        								               Content="{DynamicResource Bovespa.Contabil.Label.LabelHistCtaDebito}"
        								               Margin="0,230,0,0"
        								               IsTargetFieldRequired="True"
										               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtCodHistoricoDebito"
                                                              Value="{Binding CodigoHistoricoDebito}"
                                                              Integers="3"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
            								                  Margin="0,251,0,0"
            								                  VerticalAlignment="Top"
            								                  Width="105"
            								                  TabIndex="12"
                                                              IsRequired="True"
                                                              RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.CodigoHistoricoDebitoObrigatorio"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtDigHistoricoDebito"
                                                              Value="{Binding DigitoHistoricoDebito}"
                                                              Integers="1"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
            								                  Margin="110,251,0,0"
            								                  VerticalAlignment="Top"
            								                  Width="26"
            								                  TabIndex="12"
                                                              LostFocus="TxtDigHistoricoDebito_LostFocus"/>

                                <Controls:SinacorLabel HorizontalAlignment="Left"
            							               Width="130"
            							               Content="{DynamicResource Bovespa.Contabil.Label.LabelHistEstorno}"
            							               Margin="154,230,0,0"
            							               IsTargetFieldRequired="True"
            							               HorizontalContentAlignment="Left"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtCodHistoricoEstorno"
                                                              Value="{Binding CodigoHistoricoEstorno}"
                                                              Integers="3"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
            								                  Margin="154,251,0,0"
            								                  VerticalAlignment="Top"
            								                  Width="100"
            								                  TabIndex="13"
                                                              IsRequired="True"
                                                              RequiredErrorMessage="Bovespa.Contabil.ExceptionMessage.CodigoHistoricoEstornoObrigatorio"/>

                                <Controls:SinacorInt32TextBox x:Name="TxtDigHistoricoEstorno"
                                                              Value="{Binding DigitoHistoricoEstorno}"
                                                              Integers="1"
                                                              IsFormated="False"
                                                              HorizontalAlignment="Left"
            								                  Margin="258,251,0,0"
            								                  VerticalAlignment="Top"
            								                  Width="26"
            								                  TabIndex="14"
                                                              LostFocus="TxtDigHistoricoEstorno_LostFocus"/>

                                <Controls:SinacorButton x:Name="BtnCancelar"
                                                        HorizontalAlignment="Left"
										                VerticalAlignment="Top"
										                Content="{DynamicResource Bovespa.Contabil.Label.BotaoCancelar}"
										                Width="100"
										                Margin="562,251,0,0"
										                TabIndex="16"
                                                        Click="BtnCancelar_Click"/>

                                <Controls:SinacorButton x:Name="BtnSalvar"
                                                        HorizontalAlignment="Left"
										                VerticalAlignment="Top"
										                Width="100"
										                Content="{DynamicResource Bovespa.Contabil.Label.BotaoSalvar}"
										                Margin="458,251,0,0"
										                TabIndex="15"
                                                        Click="BtnSalvar_Click"/>
                            </Grid>
                        </DataTemplate>
                    </Controls:SinacorDataGrid.PanelInsertTemplate>

                    <Controls:SinacorDataGrid.Columns>
                        <Controls:Column Name="Bolsa"
                                         Title="Bovespa.Contabil.Label.LabelBolsa"
                                         HorizontalCellAlignment="Left"
                                         DisplayMemberPath="DescricaoBolsa"/>

                        <Controls:Column Name="GrupoContabil"
                                         Title="Bovespa.Contabil.Label.LabelGrupoContabil"
                                         HorizontalCellAlignment="Left"
                                         DisplayMemberPath="DescricaoGrupoContabil"/>

                        <Controls:Column Name="EventoContabil"
                                         Title="Bovespa.Contabil.Label.LabelEventoContabil"
                                         HorizontalCellAlignment="Left"
                                         DisplayMemberPath="DescricaoEventoContabil"/>

                        <Controls:Column Name="Municipio"
                                         Title="Bovespa.Contabil.Label.LabelMunicipio"
                                         HorizontalCellAlignment="Left"
                                         DisplayMemberPath="DescricaoMunicipio"/>

                        <Controls:Column Name="CodResumidoCredito"
                                         Title="Bovespa.Contabil.Label.LabelCodResumidoCred"
                                         HorizontalCellAlignment="Right">

                            <Controls:Column.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <Controls:SinacorLabel Content="{Binding CodigoResumidoCredito}"/>
                                        <Controls:SinacorLabel Content="-"/>
                                        <Controls:SinacorLabel Content="{Binding DigitoResumidoCredito}"/>
                                    </StackPanel>
                                </DataTemplate>
                            </Controls:Column.CellTemplate>

                        </Controls:Column>

                        <Controls:Column Name="CodContaCredito"
                                         Title="Bovespa.Contabil.Label.LabelCtaCredito"
                                         HorizontalCellAlignment="Left"
                                         DisplayMemberPath="ContaCredito"/>

                        <Controls:Column Name="HistoricoContaCredito"
                                         Title="Bovespa.Contabil.Label.LabelHistCtaCredito"
                                         HorizontalCellAlignment="Right">

                            <Controls:Column.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <Controls:SinacorLabel Content="{Binding CodigoHistoricoCredito}"/>
                                        <Controls:SinacorLabel Content="-"/>
                                        <Controls:SinacorLabel Content="{Binding DigitoHistoricoCredito}"/>
                                    </StackPanel>
                                </DataTemplate>
                            </Controls:Column.CellTemplate>

                        </Controls:Column>

                        <Controls:Column Name="CodResumidoDebito"
                                         Title="Bovespa.Contabil.Label.LabelCodResumidoDeb"
                                         HorizontalCellAlignment="Right">

                            <Controls:Column.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <Controls:SinacorLabel Content="{Binding CodigoResumidoDebito}"/>
                                        <Controls:SinacorLabel Content="-"/>
                                        <Controls:SinacorLabel Content="{Binding DigitoResumidoDebito}"/>
                                    </StackPanel>
                                </DataTemplate>
                            </Controls:Column.CellTemplate>

                        </Controls:Column>

                        <Controls:Column Name="CodContaDebito"
                                         Title="Bovespa.Contabil.Label.LabelCodContaDebito"
                                         HorizontalCellAlignment="Left"
                                         DisplayMemberPath="ContaDebito"/>

                        <Controls:Column Name="HistoricoContaDebito"
                                         Title="Bovespa.Contabil.Label.LabelHistCtaDebito"
                                         HorizontalCellAlignment="Right">

                            <Controls:Column.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <Controls:SinacorLabel Content="{Binding CodigoHistoricoDebito}"/>
                                        <Controls:SinacorLabel Content="-"/>
                                        <Controls:SinacorLabel Content="{Binding DigitoHistoricoDebito}"/>
                                    </StackPanel>
                                </DataTemplate>
                            </Controls:Column.CellTemplate>

                        </Controls:Column>

                        <Controls:Column Name="HistoricoEstorno"
                                         Title="Bovespa.Contabil.Label.LabelHistEstorno"
                                         HorizontalCellAlignment="Right">

                            <Controls:Column.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <Controls:SinacorLabel Content="{Binding CodigoHistoricoEstorno}"/>
                                        <Controls:SinacorLabel Content="-"/>
                                        <Controls:SinacorLabel Content="{Binding DigitoHistoricoEstorno}"/>
                                    </StackPanel>
                                </DataTemplate>
                            </Controls:Column.CellTemplate>

                        </Controls:Column>

                    </Controls:SinacorDataGrid.Columns>
                </Controls:SinacorDataGrid>

            </Grid>
        </Controls:SinacorExpander>

    </Controls:SinacorExpanderContainer>
</Controls:SinacorWindow>
